import {http} from '@/utils/http'

// 添加专题消息
export function addTopicMessage(data:any) {
    return http.post<any>('/admin/topicMessage/addTopicMessage', data)
}

// 修改专题消息
export function updateTopicMessage(data:any) {
    return http.post<any>('/admin/topicMessage/updateTopicMessage', data)
}

// 删除专题消息
export function deleteTopicMessage(id:string) {
    return http.post<any>('/admin/topicMessage/deleteTopicMessage/'+id)
}

// 获取专题消息详情
export function getTopicMessage(id:any) {
    return http.post<any>('/admin/topicMessage/getTopicMessage/'+id)
}

// 获取专题消息分页列表
export function getTopicMessagePage(data:any) {
    return http.post<any>('/admin/topicMessage/getTopicMessagePage', data)
}





















